/**
 * Created by user on 2018/4/12.
 */
const PREFIX = 'global_'

const GlobalType = {
  toggleLoading: PREFIX + 'toggle_loading'
}

const toggleLoading = (loading) => {
  return {
    type: GlobalType.toggleLoading,
    loading: loading
  }
}
module.exports = {
  GlobalType,
  toggleLoading
}
